﻿namespace FaceService.WebAPI.Controllers.FaceInfo;

public record SearchFaceRequest(string Image);

public class SearchFaceRequestValidator : AbstractValidator<SearchFaceRequest>
{
    public SearchFaceRequestValidator()
    {
        RuleFor(e => e.Image).NotNull().NotEmpty();
    }
}